<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JavaScript事件演示</title>
</head>
<body>
<button id="btn_test" onclick="click_me();">点我</button>
<form action=""onsubmit="return register_check();">
    <fieldest>
        <legend>新用户注册</legend>
        <label>用户名</label>
        &emsp;<input type="text" name="u_name" id="u_name">
        <strong>用户名大于6位</strong><br>
        <label>密码</label>
        &emsp;&emsp;<input type="password" name="u_pwd" id="u_pwd">
        <strong>密码长度大于6位</strong><br>
        <label>密码确认</label>
        <input type="password" name="u_pwd2" id="u_pwd2">
        <strong>两次密码须一致</strong><br>
        <input type="submit" value="用户注册">
        <input type="reset" value="重置" onclick="clear_info();">
    </fieldest>
</form>
<script src="js_two.js"></script>
</body>
</html>